﻿<form action="#">
    <table>
        <tr>
            <td>
                <label>#</label>
            </td>
            <td>
                <input type="text" readonly name="id" value="@JDM.Int32(Model.EntityID)" />
            </td>
        </tr>
        <tr>
            <td>
                <label>&#10001;</label>
            </td>
            <td>
                <input type="text" readonly value="@Svc.DateTime((DateTime)JDM.DateTime(Model.CreatedOn))" />
            </td>
        </tr>
        <tr>
            <td>
                <label>&#10002;</label>
            </td>
            <td>
                <input type="text" readonly value="@Svc.DateTime((DateTime)JDM.DateTime(Model.UpdatedOn))" />
            </td>
        </tr>
        <tr>
            <td>
                <label>@T(Res.Name("Total"), JDM.String(Svc.Localization.Currency.Code))</label>
            </td>
            <td>
                <input type="text" readonly value="@Svc.Price((decimal)JDM.Decimal(Model.Total))" />
            </td>
        </tr>
        <tr>
            <td>
                <a href="@Url.Action(Loc.Act("Edit").Ctrl("Customer").Set(new
                {
                    id = JDM.Int32(Model.Customer.EntityID)
                }))" class="ui-icon ui-icon-extlink"></a>
                <label>@T(Res.Name("Customer"))</label>
            </td>
            <td>
                <input type="text" readonly value="@JDM.String(Model.Customer.Account.Email)" />
            </td>
        </tr>
    </table>
</form>
